package com.it.service.impl;

import com.it.dao.UserDao;
import com.it.pojo.Account;
import com.it.service.UserService;

import java.util.List;

public class UserserviceImpl implements UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public List<Account> getAll() {
        return userDao.queryAll();
    }
}
